package com.yan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yan.common.dto.LoginDto;
import com.yan.common.dto.RegisterDto;
import com.yan.entity.User;

import javax.validation.Valid;

/**
 * <p>
 * 用户信息表 服务类
 * </p>
 *
 * @author 烟尘
 * @since 2025-06-20
 */
public interface UserService extends IService<User> {

    User login(@Valid LoginDto loginDto);

    void register(@Valid RegisterDto registerDto);
}
